package com.suke.czx.modules.sys.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * 应用模块名称: 角色资源关系
 * 代码描述: 角色与资源关系实体
 * copyright: AUZAR ALL RIGHTS RESERVED
 * company: AUZAR
 *
 * @author: 颜米晨
 * @date: 2021/08/27 16:31
 */
@Data
@ApiModel(value = "角色与资源对应关系")
@EqualsAndHashCode(callSuper = true)
public class SysRoleMenu extends Model<SysRoleMenu> implements Serializable {

	@TableId
	public Long id;

	@ApiModelProperty(value = "角色id")
	public Long roleId;

	@ApiModelProperty(value = "资源id")
	public Long menuId;

}
